package character.sprite.gui;

import java.awt.GridLayout;
import java.util.HashMap;

import javax.swing.JPanel;

public class CharacterStyleDropZonePanel extends JPanel {

	private static final long serialVersionUID = -5354822481842898569L;

	private HashMap<String, CharacterStyleDropZone> dropZones;

	public CharacterStyleDropZonePanel(String spriteGUID) {
		this.setLayout(new GridLayout(1, 5));

		this.dropZones = new HashMap<String, CharacterStyleDropZone>();

		dropZones.put("Body", new CharacterStyleDropZone("Body", spriteGUID));
		dropZones.put("Head", new CharacterStyleDropZone("Head", spriteGUID));
		dropZones.put("Hair", new CharacterStyleDropZone("Hair", spriteGUID));
		dropZones.put("Face", new CharacterStyleDropZone("Face", spriteGUID));
		dropZones.put("Dress", new CharacterStyleDropZone("Dress", spriteGUID));

		for (String s : dropZones.keySet()) {
			this.add(dropZones.get(s));
		}
	}

}
